{if $view_history}
<div  class="span3 ml0">
	<h4>{lang view_history}</h4>
	<div  class="span3 ml0 home-album">
		<ul class="image-list cell_9">
			{loop $view_history $item}
		    <li>
		    <a href="{url detail/index?shareid=$item['s']}" class="trans07" title="$item['t']">
		    {if $item['p']}
		    <img src="{echo thumburl($item['p'],'square',$item['c'])}">
		    {else}
		    <span class="label label-info">{lang article}</span>
		    {/if}
		    </a>
			</li>
		    {/loop}
		</ul>
		<div class="album-footer">
		</div>
	</div>
</div>
{/if}